package shejimoshi.observer;

import java.util.Observable;
import java.util.Observer;

public class GuPiao extends Observable {
    private double price;

    public void setPrice(double price){
        this.price=price;
        setChanged();
        notifyObservers(price);
    }
}
